package com.sugon.entity.vo;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;

import java.io.Serializable;
import java.util.List;

/**
 * 添加备件需求明细参数
 *
 * @Author YuXD
 * @Version 1.0
 * @since 2022/10/23
 */
@Data
public class AddSparePartRequDetailParam implements Serializable {

    /**
     * 目标需求计划ID
     */
    @NotBlank(message = "必须指定目标需求计划！")
    private String targetRequId;

    @NotEmpty(message = "备件需求明细必选！")
    private List<String> requDetailIdList;

}
